package com.bwie.mapper;

import com.bwie.pojo.Menu;
import com.bwie.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 陈彤彤
* @description 针对表【t_user】的数据库操作Mapper
* @createDate 2025-04-23 08:16:01
* @Entity com.bwie.pojo.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<String> getUserRoleList(@Param("userId") Integer userId);

    List<Menu> getUserMenuTree(@Param("userId") Integer userId);
}




